﻿// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace System.Windows.Forms;

/// <summary>
///  Defines the possible kinds of input/output streams used by RichTextBox
///  control's load/save mechanism. These stream options are also used the
///  control's text modification methods.
/// </summary>
public enum RichTextBoxStreamType
{
    /// <summary>
    ///  Rich Text Format (RTF).
    /// </summary>
    RichText = 0,

    /// <summary>
    ///  Text with spaces in place of OLE objects.
    /// </summary>
    PlainText = 1,

    /// <summary>
    ///  RTF with spaces in place of OLE object (valid only for saveFile).
    /// </summary>
    RichNoOleObjs = 2,

    /// <summary>
    ///  Text with a text representation of OLE objects (valid only for saveFile).
    /// </summary>
    TextTextOleObjs = 3,

    /// <summary>
    ///  Text with spaces in place of OLE objects, encoded in Unicode.
    /// </summary>
    UnicodePlainText = 4,
}
